package com.msb.serviceprice.remote;

import com.msb.internalcommon.dto.ResponseResult;
import com.msb.internalcommon.reponese.DirectionResponse;
import com.msb.internalcommon.request.ForecastPriceDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Auther: jiudianliu
 * @Date: 2023/6/2 - 06 - 02 - 19:14
 * @Description: com.msb.serviceprice.remote
 * @version: 1.0
 */
@FeignClient("service-map")
public interface ServiceMapClient {

    @RequestMapping(method = RequestMethod.POST,value = "/direction/driving")
    public ResponseResult<DirectionResponse> direction(@RequestBody  ForecastPriceDTO forecastPriceDTO) ;

}
